package com.lunhui.user.dal.dao;

import com.lunhui.user.dal.model.Rose;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository("roseDao")
public interface RoseDao extends BaseDao<Rose, Integer> {

    List<Rose> findRoseIdAndNameListByUserId (Integer roseUserId) throws Exception;

    Rose findRoseByUserIdAndRoseName(Map<String, Object> paraMap);

    Rose findRoseByRoseId(Integer roseId);
}
